package com.example.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author xiuxian
 * @since 2022-06-22
 */
public interface EduTeacherService extends IService<EduTeacher> {

    //前四名讲师
    List<EduTeacher> selectTeacherList();

    //分页查询前端页面讲师
    Map<String, Object> getTeacherFrontList(Page<EduTeacher> teacherPage);
}
